package com.dinzeer.pseudoedge_break_dawn.register;


import com.dinzeer.pseudoedge_break_dawn.Pseudoedge_break_dawn;
import com.dinzeer.pseudoedge_break_dawn.entity.SumonSwordEntity;
import com.dinzeer.pseudoedge_break_dawn.entity.SumonSwordEntityEX;
import net.minecraft.world.entity.EntityType;
import net.minecraft.world.entity.MobCategory;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class PbdEntiteRegristrys {
    public static final DeferredRegister<EntityType<?>> ENTITIES =
            DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, Pseudoedge_break_dawn.MODID);






    public static final RegistryObject<EntityType<SumonSwordEntity>> SummonSword =
            ENTITIES.register("summon_sword",
                    () -> EntityType.Builder.of(SumonSwordEntity::new, MobCategory.MISC)
                            .sized(0.9F, 0.9F) // 碰撞箱大小
                            .clientTrackingRange(4)
                            .updateInterval(20) // 更新间隔
                            .build("summon_sword"));
    public static final RegistryObject<EntityType<SumonSwordEntityEX>> SummonSwordEX =
            ENTITIES.register("summon_sword_ex",
                    () -> EntityType.Builder.of(SumonSwordEntityEX::new, MobCategory.MISC)
                            .sized(0.9F, 0.9F) // 碰撞箱大小
                            .clientTrackingRange(4)
                            .updateInterval(20) // 更新间隔
                            .build("summon_sword_ex"));
}
